﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<BRegisterVModel>" %>
<%@ Register src="/Views/Shared/AccountFooter.ascx" tagname="AccountFooter" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>
        <%:SiteResource.Title() %></title>
         <%="<meta name=\"Keywords\" content=\"" + SiteResource.KeyWord() + "\" />\r\n"%>
    <%="<meta name=\"Description\" content=\"" + SiteResource.Description() + "\" />\r\n"%>
    <link href="/Content/css/register.css" rel="stylesheet" type="text/css" />
    <link href="/Content/Css/commonstyle.css" rel="Stylesheet" type="text/css" />
    <link href="/Content/css/popupbox.css" rel="stylesheet" type="text/css" />
    <link href="/Content/css/common.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript" src="/Scripts/formValidator.js" charset="GB2312"></script>
    <script type="text/javascript" src="/Scripts/library.js" charset="GB2312"></script>
    <script type="text/javascript" src="/Scripts/plug.js" charset="GB2312"></script>
    <script type="text/javascript">
        var valueskin = new plug.ValueSkin();
        var highlight = new plug.HighLightControl();
        var loglib = new library.Login();
        var popFrame = new plug.PopFrame();
        function OpenDoubtFrame() {
            popFrame.OpenFrame('doubtframe', 'btncolseframe');
        }
        function ToCRegister() {
            new library.Common().Redirect('/Account/CRegister');
        }
        $(function () {
            jQuery('#Validator').val('');
            jQuery('input[name="token"]').val('');
            highlight.ResistHighLight();
            valueskin.Register();
        });
        function Refalsh(sender) {
            loglib.Refalsh(sender);
        }
        loglib.BBindValidator();
    </script>
</head>
<body>
    <div id="doubtframe" class="popbox-box" style="width: 350px; height: 120px;">
        <div class="popbox-title">
        <div class="popbox-right">
            <a href="javascript:;" id="btncolseframe">
                <img alt="关闭" src="/Content/Images/closelabel.gif" /></a></div>
        </div>
        <div class="popbox-content">
            &nbsp;&nbsp;如果您是企业，请直接填写企业名称，如果您是个人兼职代理，那么请取个你喜欢的个性化的名字吧！
        </div>
    </div>
    <div class="register">
        <div class="register-line">
            <div class="register-line-left">
                <div class="register-logo">
                    <a href="/">
                        <img alt="企业会员注册" src="/Content/Images/logo会员注册.png" style="border: none;" /></a>
                </div>
            </div>
            <div class="register-line-right">
                <div class="register-toprighttext">
                    <img alt="重庆大学生兼职网" src="/Content/Images/重庆最具影响力的兼职资源服务平台.png" /></div>
            </div>
        </div>
        <div class="hline">
        </div>
        <div class="register-line">
            <div class="register-line-right" style="padding-bottom: 10px;">
                <a href="/" style="color: #333; text-decoration: none">站点首页</a> <span style="color: #E1E1E1">
                    |</span> <a href="/Account/Login" style="color: #333; text-decoration: none">登陆</a>
            </div>
        </div>
        <div class="register-line">
            <div class="box">
                <form id="form1" action="/Account/BRegister" method="post">
                <input type="hidden" name="token" />
                <div class="boxbg">
                    <div class="box-title">
                        <img alt="企业会员注册" src="/Content/Images/会员注册.png" />
                    </div>
                    <div class="box-line">
                        <div class="register-step">
                            <div class="register-line-left">
                                <div class="register-step-1">
                                    选择注册成为
                                </div>
                            </div>
                            <div class="register-line-vspace">
                            </div>
                            <div class="register-line-left">
                                <div class="tab1-1" id="tab1" onclick="ToCRegister()">
                                </div>
                                <div class="tab2" id="tab2">
                                </div>
                            </div>
                        </div>
                        <div class="box-dotline">
                        </div>
                    </div>
                    <div class="box-line">
                        <div class="register-step">
                            <div class="register-line-left">
                                <div class="register-step-2">
                                    填写注册信息</div>
                            </div>
                            <div class="register-line-vspace">
                            </div>
                            <div class="register-line-left">
                                <div class="regboxa" id="regbox2">
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            会员名:</div>
                                        <div class="regbox-item-textbox">
                                            <input default="请输入常用邮箱地址" class="regbox-item-ipt highlightborder #ffc15c" tabindex="1"
                                                type="text" name="UserName" id="txtUserName" value="<%:Model.UserName %>" maxlength="50" /></div>
                                        <div class="regbox-item-message" id="txtUserNameTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            企业名:</div>
                                        <div class="regbox-item-textbox">
                                            <input class="regbox-item-ipt highlightborder #ffc15c" tabindex="2" type="text" name="CompanyName"
                                                id="txtCompanyName" value="<%:Model.CompanyName %>" maxlength="20" />
                                            <a href="javascript:;" onclick="OpenDoubtFrame()" style="font-size: 13px; text-decoration: none">
                                                有疑问？</a>
                                        </div>
                                        <div class="regbox-item-message" id="txtCompanyNameTip">
                                        </div>
                                    </div>
                                    <%--<div class="regbox-item">
                                        <div class="regbox-item-text">
                                            企业邮箱:</div>
                                        <div class="regbox-item-textbox">
                                            <input default="用于接收求职者简历的邮箱" class="regbox-item-ipt highlightborder #ffc15c" tabindex="3"
                                                type="text" name="Email" id="txtEmail" maxlength="50" /></div>
                                        <div class="regbox-item-message" id="txtEmailTip">
                                        </div>
                                    </div>--%>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            联系QQ:</div>
                                        <div class="regbox-item-textbox">
                                            <input class="regbox-item-ipt highlightborder #ffc15c" tabindex="3"
                                                type="text" name="QQ" id="txtQQ" value="<%:Model.QQ %>" maxlength="20" /></div>
                                        <div class="regbox-item-message" id="txtQQTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            电&nbsp;&nbsp;话:</div>
                                        <div class="regbox-item-textbox">
                                            <input class="regbox-item-ipt highlightborder #ffc15c" tabindex="4" type="text" name="Phone"
                                                id="txtPhone" maxlength="50" value="<%:Model.Phone %>" /></div>
                                        <div class="regbox-item-message" id="txtPhoneTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            地&nbsp;&nbsp;址:</div>
                                        <div class="regbox-item-textbox">
                                            <input class="regbox-item-ipt highlightborder #ffc15c" tabindex="5" type="text" name="Location"
                                                id="txtLocation" maxlength="50" value="<%:Model.Location %>" /></div>
                                        <div class="regbox-item-message" id="txtLocationTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            密&nbsp;&nbsp;码:</div>
                                        <div class="regbox-item-textbox">
                                            <input class="regbox-item-ipt highlightborder #ffc15c" tabindex="6" type="password"
                                                name="Password" id="txtPassword" maxlength="20" /></div>
                                        <div class="regbox-item-message" id="txtPasswordTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            确认密码:</div>
                                        <div class="regbox-item-textbox">
                                            <input class="regbox-item-ipt highlightborder #ffc15c" tabindex="7" type="password"
                                                name="Confirm" id="txtConfirm" maxlength="20" /></div>
                                        <div class="regbox-item-message" id="txtConfirmTip">
                                        </div>
                                    </div>
                                    <div class="regbox-item">
                                        <div class="regbox-item-text">
                                            验证码:</div>
                                        <input type="text" name="Validator" id="txtValidator" maxlength="4" tabindex="8"
                                            style="width: 50px; float: left;" class="highlightborder #ffc15c" />
                                        <div id="codeimg" class="regbox-item-message" style="margin-left: 4px">
                                        </div>
                                        <div class="regbox-item-message" id="txtValidatorTip">
                                        </div>
                                        <div class="regbox-item">
                                            <div class="regbox-item-checkbox">
                                                <input type="checkbox" class="checkbox" name="agreementcheck" id="agreementcheck" checked="checked"/>
                                                <label for="agreementcheck">
                                                    我确认并同意</label>
                                            </div>
                                            <div class="regbox-item-agreement">
                                                <a href="/Account/Agreement" target="_blank">服务声明</a>
                                            </div>
                                        <div class="regbox-item-message" id="agreementcheckTip"></div>
                                        </div>
                                        <%if (!Model.Pass)
                                          { %>
                                        <div class="regbox-item">
                                            <div class="font-red font-size15">
                                                <div style="margin-left: 30px;">
                                                    <%:Model.FaildMessage %></div>
                                            </div>
                                        </div>
                                        <%} %>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="box-sepline">
                        </div>
                        <div class="loginbox-line">
                            <div class="registerbuttom">
                                <input type="submit" value="" class="reg_btn" />
                            </div>
                        </div>
                        <div class="loginbox-line">
                            <div class="regbox-login">
                                已经是会员，请点击 <a href="/Account/Login">登录</a></div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="content-line">
            <uc1:AccountFooter ID="AccountFooter1" runat="server" /> 
        </div>
    </div>
</body>
</html>
